package com.tarena.lbs.activity.dao.repository;

import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.model.Result;

import java.util.List;
import java.util.Optional;

public interface ActivityRepository {

    List<ActivityVO> selectByBusinessId(Long businessId);
    ActivityPO findById(Integer activityId);
    Result<ActivityVO> selectById(Long id);
    void insert(ActivityPO activityPO);
}
